<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>登陆界面</title>
<link rel="stylesheet" href="./style/login.css">
<script type="text/javascript" src="./js/jquery-1.8.0.js"></script>

<script type="text/javascript" src="./js/tanchu_login.js"></script>
<script type="text/javascript">

$(document).ready(function(e) {
			
			////////////验证码开始
			$("#checkImg2").click(function(){
				$("#checkImg2").attr("src","ValidationCode.class.php?num="+Math.random());
			});
			
			$("#input_checkcode").blur(function(){
				$.post("checkCode.php",{validateCode:$("#input_checkcode").val()},function(data){
					if(data=="1"){
						$("#p_checkcode").css("color","green");
						$("#p_checkcode").html("验证码正确！");
					}
					else if(data=="0"){
						$("#p_checkcode").css("color","red");
						$("#p_checkcode").html("验证码错误！");
					}
				});
			});
			////////////验证码结束
			
});           //////document.ready结束


</script>
</head>

<body>



<div class="head">
	<img src="./images/login_bg1.png">
    <p>没有账号？现在就<a href="#"><span id="login" style="color:#F93; cursor:pointer;">注册</span></a></p>
</div>
<div class="content">
	<div class="login_tishi" id="login_tishi">
    	<p></p>
    </div>
    <div class="login_form">
	<form action="login.php" onsubmit="return login_yanzheng(this)" method="post" autocomplete="off">
    	<input type="text" name="input_username" class="login_input" id="input_place1" autocomplete="off" value="" ><br />
        <input type="password" name="input_userpassword" class="login_input" autocomplete="off"  id="input_place2" value=""><br />
        <input type="text" class="login_input_checkcode" id="login_input_checkcode" autocomplete="off" />
        <img src="ValidationCode.class.php" id="checkImg2"><br /><br /><input name="menberPass" type="checkbox" value="true" checked="checked" />
        下次自动登录<br />
		
      <p id="input_mima"><a href="#">忘记密码？</a></p>
		
        <input type="submit" value="登陆" id="input_submit" class="input_submit">
    </form>
    <p id="input_zhuce"><a href="#">立即注册</a></p>
    </div>
</div>
</body>
</html>
